package org.ping.news;

/**
 * @author PING
 * 这里是新闻的数据
 */
public class StorageNew implements Cloneable{
	//id
	private int id;
	//标题
	private String title;
	//原文链接
	private String link;
	//内容
	private String content;
	//时间
	private String date;
	//图片
	private String image;
	public StorageNew() {}
	public StorageNew(String title, String link, String content, String date, String image,int id) {
		super();
		this.title = title;
		this.link = link;
		this.content = content;
		this.date = date;
		this.image = image;
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public Object clone() {
		StorageNew sto = null;
		try {
			sto=(StorageNew) super.clone();
		} catch (CloneNotSupportedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return sto;
	}
}
